import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import 'mdi/css/materialdesignicons.css'

import 'vuetify/styles'
import { createVuetify } from 'vuetify'
import * as components from 'vuetify/components'
import * as directives from 'vuetify/directives'
import { createPinia } from 'pinia'
import {router} from "./router";
import {http} from "@tauri-apps/api";
import {aliases,mdi} from "vuetify/iconsets/mdi";

const vuetify = createVuetify({
    components,
    directives,
    icons:{
        defaultSet:'mdi',
        aliases,
        sets:{
            mdi
        }
    }
})

const pinia = createPinia()


const app = createApp(App)
app.use(pinia)
    .use(vuetify)
    .use(router)
    .mount('#app')
